home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
fly8111-.000
/
fly8111-
/
fly8
/
shapes
/
house.vx
< prev
next >
Wrap
Text File
|
1979-12-31
|
1KB
|
49 lines
/* --------------------------------- house.vx ------------------------------- */
/*
* This is part of the flight simulator 'fly8'.
* Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
*
*/
/*
* Object shape: O_HOUSE.
*/
#include "shape.h"
#define W 5 /* half Width */
#define L 10 /* half Length */
#define H 3 /* ceiling Height */
#define R 2 /* Roof height above ceiling */
static VERTEX vx_house[] = {
{{ 0, -L, R+H}, V_MOVE},
{{ -W, -L, H}, V_DRAW},
{{ -W, -L, 0}, V_DRAW},
{{ W, -L, 0}, V_DRAW},
{{ W, -L, H}, V_DRAW},
{{ 0, -L, R+H}, V_DRAW},
{{ 0, L, R+H}, V_DRAW},
{{ -W, L, H}, V_DRAW},
{{ -W, L, 0}, V_DRAW},
{{ W, L, 0}, V_DRAW},
{{ W, L, H}, V_DRAW},
{{ 0, L, R+H}, V_DRAW},
{{ -W, -L, H}, V_MOVE},
{{ -W, L, H}, V_DRAW},
{{ W, -L, H}, V_MOVE},
{{ W, L, H}, V_DRAW},
{{ -W, -L, 0}, V_MOVE},
{{ -W, L, 0}, V_DRAW},
{{ W, -L, 0}, V_MOVE},
{{ W, L, 0}, V_DRAW},
{{ 0, 0, 0}, V_EOF}
};